<html>
  <head>
    <title>ServiceWorker test</title>
  </head>
  <script>
    if (navigator.registerServiceWorker) {
      navigator.registerServiceWorker('/*', 'worker.js');
    }
  </script>
</html>

